package com.xmmj.common.room.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "account")
class AccountBean(

    @ColumnInfo(name = "id")
    var id: String = "",

    @PrimaryKey
    @ColumnInfo(name = "userToken")
    var userToken: String = "",

    @ColumnInfo(name = "attentionCount")
    var attentionCount: Int? = null,

    @ColumnInfo(name = "attentionState")
    var attentionState: Int? = null,

    @ColumnInfo(name = "avatar")
    var avatar: String? = null,

    @ColumnInfo(name = "bindMobile")
    var bindMobile: Boolean? = null,

    @ColumnInfo(name = "birthday")
    var birthday: String? = null,

    @ColumnInfo(name = "createdAt")
    var createdAt: Long? = null,

    @ColumnInfo(name = "email")
    var email: String? = null,

    @ColumnInfo(name = "fansCount")
    var fansCount: Int? = null,

    @ColumnInfo(name = "gender")
    var gender: Int? = null,

    @ColumnInfo(name = "hobby")
    var hobby: String? = null,

    @ColumnInfo(name = "introduction")
    var introduction: String? = null,

    @ColumnInfo(name = "invitationCode")
    var invitationCode: String? = null,

    @ColumnInfo(name = "isPerfect")
    var isPerfect: Boolean? = null,

    @ColumnInfo(name = "isSetPassword")
    var isSetPassword: Boolean? = null,

    @ColumnInfo(name = "jqNumber")
    var jqNumber: Int? = null,

    @ColumnInfo(name = "location")
    var location: String? = null,

    @ColumnInfo(name = "nickname")
    var nickname: String? = null,

    @ColumnInfo(name = "phoneNumber")
    var phoneNumber: String? = null,

    @ColumnInfo(name = "position")
    var position: String? = null,

    @ColumnInfo(name = "school")
    var school: String? = null,

    @ColumnInfo(name = "updatedAt")
    var updatedAt: Long? = null,

    @ColumnInfo(name = "userState")
    var userState: Int? = null
)